import request from '@/utils/request'
export function list(params) {
  return request({
    url: '/admin/brand/list',
    method: 'get',
    params: params
  })
}
export function save(data,params) {
  return request({
    url:'/admin/brand/save',
    method: 'post',
    data:data,
    params: params
  })
}
export function find(id) {
  return request({
    url:'/admin/brand/find/'+id,
    method: 'get',
  })
}

export function update(data,params) {
  return request({
    url: '/admin/brand/update',
    method: 'post',
    data: data,
    params: params
  })
}
export function del(ids) {
  return request({
    url: '/admin/brand/del/' + ids,
    method: 'post'
  })
}
